// 寄生组合继承
function Father() {

}

function Son(...args) {
    Father.call(this, ...args)
}

function inherit(Son, Father) {
    let newObj = Object.create(Father.prototype)
    Son.prototype = newObj;
    Son.prototype.constrctor = Son;
}

inherit(Son, Father)